<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Northwinddemo.Master" Inherits="System.Web.Mvc.ViewPage<ProductViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Details
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Details</h2>
    <fieldset>
        <legend>Fields</legend>    
        <%= Html.DisplayFor(p => p) %>
    </fieldset>
    <p>
        <%=Html.ActionLink("Edit", "Edit", new { id = Model.Product.ProductId }) %> |
        <%=Html.ActionLink("Back to List", "Index") %>
    </p>
</asp:Content>
